package com.spzx.service.Impl;

import com.spzx.common.core.constant.SecurityConstants;
import com.spzx.product.api.RemoteBrandAllService;
import com.spzx.product.api.domain.Brand;
import com.spzx.service.BrandAllService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class BrandAllServiceImpl implements BrandAllService {
    @Resource
    RemoteBrandAllService remoteBrandAllService;
    @Override
    public List<Brand> getBrandAll() {
        System.out.println(remoteBrandAllService.getBrandAll(SecurityConstants.INNER).getData());
        return remoteBrandAllService.getBrandAll(SecurityConstants.INNER).getData();
    }
}
